<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="../../stylesheets/lyjNav.css">
    <link rel="stylesheet" href="../../stylesheets/reset.css">
    <link rel="stylesheet" href="../../stylesheets/person-center/six-index.css">
    <link rel="stylesheet" href="../../stylesheets/person-center/my account.css">
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_1512981_b3gt4rwbf0t.css">
    <title>my account</title>
    <style>
    </style>
</head>

<body>
    <!-- 头部 -->
    <div id="lxcbox">
        <div id="lxcheader"></div>
        <div id="lxcsearch"></div>
    </div>
    <div class="navwrap clear">
        <div id="nav"></div>
        <div class="tradecate"></div>
    </div>
    <div class="clear" id="six-zhu">
        <iframe src="/lwb/left" frameborder="0" id="six-if2" scrolling="no"></iframe>
        <div id="six-right">
            <div id="six-right-1">
                <img class="six-img1" src="../../images/person-center/lemon.png" alt="">
                <span class="six-ninhao">您好，</span>
                <span class="six-number">
                    <!-- <span>136****2356</span> -->
                </span>
                <div id="six-right-2">
                    <div class="six-rechargeable">
                        <div class="six-jifen">当前积分</div>
                        <div class="six-124">
                            <!-- <span>124</span> -->
                        </div>
                    </div>
                    <div class="six-bag">
                        <div class="six-money">我的钱包</div>
                        <div class="six-yuan">￥
                            <!-- <span>1220.0</span> -->
                        </div>
                    </div>
                    <div class="six-card">
                        <div class="six-chongzhi">充值有礼>></div>
                        <div class="six-chongzhika">充值卡兑换>></div>
                    </div>
                </div>
            </div>
            <div id="six-right-3">
                <img class="six-img2" src="../../images/person-center/recharge.png" alt="">
                <img class="six-img3" src="../../images/person-center/chongzhi.png" alt="">
            </div>
        </div>
    </div>
    <!-- 尾部 -->
    <div id="lxcfooter">
        <div id="lxcfooter1"></div>
        <div id="lxcfooter2"></div>
        <div id="lxcbottom"></div>
    </div>
</body>
<script src="../../javascripts/jquery-3.4.1.min.js"></script>
<script src="../../javascripts/lxcheader.js"></script>
<script src="../../javascripts/lyjNav.js"></script>
<script>
    $('.six-chongzhi').click(function (){
        location.href = '/lwb/rechargeable'
    })
    $('.six-chongzhika').click(function (){
        location.href = '/lwb/rechargeablecard'
    })
    $('.six-yuan').click(function (){
        location.href = '/lwb/rechargeable'
    })
    $('.six-124').click(function (){
        location.href = '/lwb/myintegral'
    })
    $('.six-number').click(function (){
        location.href = '/lwb/bindingmobilephone'
    })
    $.ajax({
        url: "http://localhost:8080/lwb/liul",
        type: 'post',
        data:{
            id :'10',
        },
        dataType:'json',
        success:(data) => {
            console.log(data);
            $('.six-number').empty();
            $('.six-124').empty();
            if(data.code == '1'){
                for(let i in data.result){
                    $('.six-number').append('<span>"'+ data.result[i].userName +'"</span>')
                }
                for(let j in data.result){
                    $('.six-124').append('<span>'+ data.result[j].jifen +'</span>')
                }
                for(let k in data.result){
                    $('.six-yuan').append('<span>'+ data.result[k].money +'</span>')
                }
            } 
        },
        // error:(xhr,err)=>{
        //     console.error(error)
        // }
    })
</script>
</html>